<script>
export default {
  name: "swagger",
  data() {
    return {}
  },
  methods: {
    getUrl() {
      this.$http.post("/dict/getDict/swagger").then(res => {
        window.location.href = res[0]["dict"]
      })
    }
  },
  mounted() {
    this.getUrl()
  }
}
</script>
<style lang="less" scoped>

</style>
